#!/bin/bash
#width-based psd file parsing bash script
 
 LIST="$(ls *.psd)"
 
 for _file in "$LIST"; do
     grep -q 'PixelXDimension>[3-9][0-9][0-9]' $_file
     if [ $? -eq 0 ]; then
 	echo "$_file"
     fi
 done
